package com.ls.springcloud.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * @Author Moro
 * @Date 2021/6/4 23:33
 * @title MyLoadBalancer
 * @des 自定义轮询算法
 */

public interface MyLoadBalancer {
    ServiceInstance instances(List<ServiceInstance> serviceInstances);
}
